package com.seven.batchtask;

import java.util.List;

/**
 * @工程名:common-utils
 * @author: sevenDay
 * @时间: 2019/3/17 23:27
 * @描述:
 */
public class ThreadTask <T> implements Runnable {

    private  List<T> t = null;

    private int fromIndex;

    private int toIndex;

    public ThreadTask(List<T> t){
        this.t = t;
    }
    @Override
    public void run() {
        for (int i=fromIndex;i<toIndex;i++){

        }

    }
}
